package temp.lho.lws.service;

import temp.lho.lws.pojo.*;
import temp.lho.lws.vo.LoginVo;

import java.util.List;

public interface UtilService {

    //流程
    //1.张三坐席报案，向工作流程表插入一条报案信息
    Integer FlowInfomation1(Flowinfomation flowInf);
    //2.向工作流程表插入一条调度信息
    Integer FlowInfomation2(Flowinfomation flowInf);
    //3.当李四点击代办任务的派工按钮时，需要更新调度任务的接收时间为系统时间，任务状态为2
    Integer FlowInfomation3(Integer taskid, Integer jobstate,Integer transmitstate, LoginVo user);
    //4.派工给王五，新增一条查勘定损信息
    Integer FlowInfomation4(Flowinfomation flowInf);
    //5.当王五点击代办任务的查勘定损按钮时，需要更新查勘定损任务的接收时间为系统时间，任务状态为2
    Integer FlowInfomation5(Integer taskid, Integer jobstate,Integer transmitstate, LoginVo user);
    //6.王五开始查勘信息录入，点击暂存按钮,需要更新查勘定损任务的任务状态为3
    Integer FlowInfomation6(Integer taskid, Integer jobstate,Integer transmitstate, LoginVo user);
    //7.王五开始查勘信息录入，点击提交按钮,插入一条核损信息
    Integer FlowInfomation7(Flowinfomation flowInf);
    //8.当麻六点击代办任务的核损按钮时，需要更新核损任务的接收时间为系统时间，任务状态为2
    Integer FlowInfomation8(Integer taskid, Integer jobstate, Integer transmitstate,LoginVo user);
    //9.麻六审核查勘信息，发现查勘资料录入不全，点击退回按钮，退回第4步
    Integer FlowInfomation9(Flowinfomation flowInf);
    //10.麻六开始录入审核意见信息，点击提交按钮，插入一条理算信息
    Integer FlowInfomation10(Flowinfomation flowInf);
    //11.赵七开始理算，如果撤销，则返回核损
    Integer FlowInfomation11(Flowinfomation flowInf);
    //12.核赔
    Integer FlowInfomation12(Flowinfomation flowInf);
    //13.结案
    Integer FlowInfomation13(Flowinfomation flowInf);
}
